<?php
defined('IN_TS') or die('Access Denied.');
$arrEvent = $new['event']->findAll('event_users',array('eventid'=>7));
foreach ( $arrEvent as $v ){

	$new['event']->update('user_info',array(
		'userid'=>$v['userid'],
	),array(
		'username'=>$v['username'],
		'phone'=>$v['phone'],
	));
}